import request from '@/utils/request'
//入库基础信息下拉获取
export function getWarehouseInBasic(query) {
  return request({
    url: '/warehouse/getWarehouseInBasic',
    method: 'get',
    params: query
  });
}
//入库数据统计
export function getWarehouseInStatistic(query) {
  return request({
    url: '/warehouse/getWarehouseInStatistic',
    method: 'get',
    params: query
  });
}
//未完成单据入库
export function getWarehouseInNoFinishBills(query) {
  return request({
    url: '/warehouse/getWarehouseInNoFinishBills',
    method: 'get',
    params: query
  });
}
//出库基础信息下拉
export function getWarehouseOutBasic(query) {
  return request({
    url: '/warehouse/getWarehouseOutBasic',
    method: 'get',
    params: query
  });
}
//出库数据统计
export function getWarehouseOutStatistic(query) {
  return request({
    url: '/warehouse/getWarehouseOutStatistic',
    method: 'get',
    params: query
  });
}
//未完成出库统计
export function getWarehouseOutNoFinishBills(query) {
  return request({
    url: '/warehouse/getWarehouseOutNoFinishBills',
    method: 'get',
    params: query
  });
}
//产品全生命周期
export function findAuditSku(query) {
  return request({
    url: '/warehouse/findAuditSku',
    method: 'get',
    params: query
  });
}
//单据全生命周期
export function findAuditBills(query) {
  return request({
    url: '/warehouse/findAuditBills',
    method: 'get',
    params: query
  });
}
//人员全生命周期
export function findAuditUser(query) {
  return request({
    url: '/warehouse/findAuditUser',
    method: 'get',
    params: query
  });
}
//货位查询
export function getStoUnitQuery(query) {
  return request({
    url: '/warehouse/getStoUnitQuery',
    method: 'get',
    params: query
  });
}
//库存预警查询
export function getSkuAlarms(query) {
  return request({
    url: '/warehouse/getSkuAlarms',
    method: 'get',
    params: query
  });
}
//获取库存仓库
export function findStatisticSto(query) {
  return request({
    url: '/warehouse/findStatisticSto',
    method: 'get',
    params: query
  });
}
//商品仓库货位查询
export function getStatisticStoUnit(query) {
  return request({
    url: '/warehouse/getStatisticStoUnit',
    method: 'get',
    params: query
  });
}
//商品库存查询
export function getSkuQuery(query) {
  return request({
    url: '/warehouse/getSkuQuery',
    method: 'get',
    params: query
  });
}
//全部库存统计
export function getWarehouseStatistic(query) {
  return request({
    url: '/warehouse/getWarehouseStatistic',
    method: 'get',
    params: query
  });
}
//请验管理列表数据
export function getVerityWarehouseStatistic(query) {
  return request({
    url: '/warehouse/getWarehouseStatistics',
    method: 'get',
    params: query
  });
}
//获取库存统计下拉数据
export function getWarehouseBasic(query) {
  return request({
    url: '/warehouse/getWarehouseBasic',
    method: 'get',
    params: query
  });
}
//获取商品状态
export function getBillStatusAll(query) {
  return request({
    url: '/warehouse/getBillStatusAll',
    method: 'get',
    params: query
  });
}
//商品转化率
export function findTurnoverStatistic(query) {
  return request({
    url: '/warehouse/findTurnoverStatistic',
    method: 'get',
    params: query
  });
}
//人员KPI
export function wmsUserKpi(query) {
  return request({
    url: '/warehouse/wmsUserKpi',
    method: 'get',
    params: query
  });
}
//预警规则列表获取,//库存预警查询下拉框
export function warningType(query) {
  return request({
    url: '/wms/warningType/list',
    method: 'get',
    params: query
  });
}
//预警规则列表天数修改
export function updataWmsWarningType(query) {
  return request({
    url: '/wms/warningType/updataWmsWarningType',
    method: 'put',
    data: query
  });
}
